package com.quality.mybatis.pojo;

import java.util.Date;

public class Project {
    private int id;
    private String projectId;
    private String projectName;
    private String projectCode;
    private String serviceName;
    private int major;
    private int minor;
    private int critical;
    private int blocker;
    private int info;
    private int codeSmell;
    private int bug;
    private int vulnerability;

    private int nCloc;
    private double score;
    private String projectKey;

    private String status;

    private int isMany = 0;

    private Date createTime;


    public Project() {
    }


    public Project(int id, String projectId, String projectName, String projectCode, String serviceName, int major, int minor, int critical, int blocker, int info, int codeSmell, int bug, int vulnerability, int nCloc, double score, String projectKey, String status, int isMany, Date createTime) {
        this.id = id;
        this.projectId = projectId;
        this.projectName = projectName;
        this.projectCode = projectCode;
        this.serviceName = serviceName;
        this.major = major;
        this.minor = minor;
        this.critical = critical;
        this.blocker = blocker;
        this.info = info;
        this.codeSmell = codeSmell;
        this.bug = bug;
        this.vulnerability = vulnerability;
        this.nCloc = nCloc;
        this.score = score;
        this.projectKey = projectKey;
        this.status = status;
        this.isMany = isMany;
        this.createTime = createTime;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getIsMany() {
        return isMany;
    }

    public void setIsMany(int isMany) {
        this.isMany = isMany;
    }

    public String getProjectKey() {
        return projectKey;
    }

    public void setProjectKey(String projectKey) {
        this.projectKey = projectKey;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public int getBlocker() {
        return blocker;
    }

    public void setBlocker(int blocker) {
        this.blocker = blocker;
    }

    public int getnCloc() {
        return nCloc;
    }

    public void setnCloc(int nCloc) {
        this.nCloc = nCloc;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public int getMajor() {
        return major;
    }

    public void setMajor(int major) {
        this.major = major;
    }

    public int getMinor() {
        return minor;
    }

    public void setMinor(int minor) {
        this.minor = minor;
    }

    public int getCritical() {
        return critical;
    }

    public void setCritical(int critical) {
        this.critical = critical;
    }


    public int getInfo() {
        return info;
    }

    public void setInfo(int info) {
        this.info = info;
    }

    public int getCodeSmell() {
        return codeSmell;
    }

    public void setCodeSmell(int codeSmell) {
        this.codeSmell = codeSmell;
    }

    public int getBug() {
        return bug;
    }

    public void setBug(int bug) {
        this.bug = bug;
    }

    public int getVulnerability() {
        return vulnerability;
    }

    public void setVulnerability(int vulnerability) {
        this.vulnerability = vulnerability;
    }

    @Override
    public String toString() {
        return "Project{" +
                "id=" + id +
                ", projectId='" + projectId + '\'' +
                ", projectName='" + projectName + '\'' +
                ", projectCode='" + projectCode + '\'' +
                ", serviceName='" + serviceName + '\'' +
                ", major=" + major +
                ", minor=" + minor +
                ", critical=" + critical +
                ", blocker=" + blocker +
                ", info=" + info +
                ", codeSmell=" + codeSmell +
                ", bug=" + bug +
                ", vulnerability=" + vulnerability +
                ", nCloc=" + nCloc +
                ", score=" + score +
                ", projectKey='" + projectKey + '\'' +
                ", status='" + status + '\'' +
                ", isMany=" + isMany +
                ", createTime=" + createTime +
                '}';
    }
}
